package com.sohh.demo.demo0522;

/**
 * @description: some desc
 * @author: ruoan
 * @date: 2021/5/22 23:46
 */
public class FilterEmployeeByAge implements  MyPredicate<Employee>{
    @Override
    public boolean test(Employee employee) {
        return employee.getAge()>=30;
    }
}
